package L1;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class _091 {
    /**
     * 程序员买包子
     */
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String[] s = reader.readLine().split(" ");
        int N  = Integer.valueOf(s[0]);
        String X = s[1];
        int M  = Integer.valueOf(s[2]);
        int K = Integer.valueOf(s[3]);

        if (K==N){
            System.out.println("mei you mai "+X +" de");
        }else if (K==M){
            System.out.println("kan dao le mai "+X +" de");
        }else {
            System.out.println("wang le zhao mai "+X+ " de");
        }

    }

}
